<template>
    <div id="app">
      <!-- <keep-alive>
          <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive"></router-view> -->

        <router-view></router-view>
    </div>
</template>
<script>
export default {
  data: function() {
    return {
     
      }
  },
  mounted(){
        // // 关闭浏览器窗口的时候清空浏览器缓存在localStorage的数据
        // window.onbeforeunload = function (e) {
        //     var storage = window.localStorage;
        //     storage.clear()
        // }
       
    }
  
};
</script>
<style>
    @import "./assets/css/main.css";
    @import "./assets/css/color-dark.css";     /*深色主题*/
    /*@import "./assets/css/theme-green/color-green.css";   浅绿色主题*/
</style>